﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Devida/Siste.master" AutoEventWireup="false" CodeFile="POAFinanciero.aspx.vb" Inherits="Devida_POAFinanciero" Theme="Yahoo-Ocean" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register src="ucAlerta.ascx" TagName="Alerta" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
   <base target="_self" />
<link href="../css/EstilosFrm.css" type="text/css" rel="stylesheet" /> 
   <link href="../css/i_consultas.css" type="text/css" rel="stylesheet" />
   <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <link href="../css/style2.css" type="text/css" rel="stylesheet" />
    <link href="../css/StyleSheet.css" type="text/css" rel="stylesheet" />
    
    <script language="javascript" src="../Script/PrintScript.js" type="text/javascript"> </script>
    <script src="../js/jsForms/js_Consulta.js" type="text/javascript"></script>
    <script src="../js/js_windowpopup.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">

        function Resaltar_On(GridView) {
            if (GridView != null) {
                GridView.originalBgColor = GridView.style.backgroundColor;
                GridView.style.backgroundColor = "#5BADFF";
            }
        }

        function Resaltar_Off(GridView) {
            if (GridView != null) {
                GridView.style.backgroundColor = GridView.originalBgColor;
            }
        }
    
    </script>
     
   
    <style type="text/css">


        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 9px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_name" Runat="Server">
 <asp:Label ID="lb_name" runat="server" Font-Names="Arial"
                        Font-Size="17px" ForeColor="white" Text="Monitoreo Mensual&nbsp;" 
                        Font-Bold="True"></asp:Label>                   
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
      
           <table cellpadding="0" cellspacing="0" width="901px" style="border: 1px solid #295EAB;
            text-align: left; color: #FFFFFF;" bgcolor="#009933">
            <tr>
            <td class="btn" align="left" style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; 
                width: 200px; height: 25px; font-size: medium;" bgcolor="#009933">
                        <asp:Label ID="Label1" runat="server" Font-Names="Arial" Font-Size="17px" 
                        ForeColor="white" Text="Avance Financiero" Font-Bold="True" ></asp:Label>
          </td>
            <td style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; width:550px; font-size: small;" bgcolor="#009933" >
          <asp:Label ID="lblPoa" runat="server" Font-Names="Arial"  Font-Size="10px" ForeColor="white"></asp:Label>
          </td>
            <td style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: small;" bgcolor="#009933" >
            <asp:Label ID="lblPeriodo" runat="server" Text="Periodo: " ></asp:Label>
            </td>
            <td bgcolor="#009933" >
            <asp:DropDownList ID="ddlPeriodo" runat="server" CssClass="ddl" AutoPostBack="True"></asp:DropDownList>
            </td>
        </tr>
            </table>
           <table cellpadding="0" cellspacing="0" style="width: 900px; height: 300px;">
                        <tr>
                            <td>
                                <div   style="border: solid 1px #99aabd; width: 900px; height: 300px; overflow: auto;"
                                    align="center">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" Width="900px">
                            <ContentTemplate>
                            <asp:GridView ID="gv_Detalle" runat="server" AutoGenerateColumns="False" 
                                    CssClass="grid" Font-Size="10pt"  Width="1200px" GridLines="None">                                       
                                    <RowStyle ForeColor="#333333" Font-Bold="False" BackColor="#F7F6F3" VerticalAlign="Top"/>
                                            <Columns>
                                                <asp:BoundField DataField="PERIODO" HeaderText="Periodo" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="CODIGO" HeaderText="Código" ItemStyle-Width="30px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="DESCRIPCION" HeaderText="Especifica de Gastos" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="ANUAL" HeaderText="Monto Anual" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:N0}"/>
                                                <asp:BoundField DataField="ACTUAL" HeaderText="Monto Mes" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:N0}"/>
                                                <asp:BoundField DataField="ACUMULADA" HeaderText="Monto Acum." ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:N0}"/> 
                                                <asp:BoundField DataField="Visita1" HeaderText="Visita 1" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:N0}"/> 
                                                <asp:BoundField DataField="Visita2" HeaderText="Visita 2" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:N0}"/> 
                                                <asp:BoundField DataField="Visita3" HeaderText="Visita 3" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:N0}"/> 
                                                <asp:BoundField DataField="Visita4" HeaderText="Visita 4" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:N0}"/>    
                                                <asp:BoundField DataField="OBSERVACIONES" HeaderText="Observaciones" ItemStyle-HorizontalAlign="Left" />                                                                                                   
                                            </Columns>
                                             <SelectedRowStyle BackColor="#5BADFF" Font-Bold="True" ForeColor="#333333" />
                                    <AlternatingRowStyle BackColor="#CEDAF2" ForeColor="#003366" />
                                    <PagerStyle BackColor="#336699" Font-Bold="True" Font-Names="Verdana" Font-Size="10px"
                                        ForeColor="White" Wrap="False" HorizontalAlign="left" />
                                        </asp:GridView>
                            </ContentTemplate>
                            </asp:UpdatePanel>
                                </div>
                                 <div id="print_area" style="width: 100%; display: none;" >
                                <table style="width:1200px" cellpadding="0" cellspacing="0">
                                <tr>
                                <td align="center" colspan="2"><asp:Label ID="Label2" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: 15px"
                                Text="Avance Financiero" Font-Bold="True"></asp:Label></td>
                                </tr>
                                  <tr style="height:10px">
                                <td >&nbsp</td>
                                <td ></td>
                                </tr>
                                <tr><td colspan="2"><asp:Label ID="lblPoaImp" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px" ></asp:Label>   </td></tr>
                                <tr>
                                <td style="width:200px"><asp:Label ID="Label3" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px" Text="MONITOREADOR:  " ></asp:Label>
                                <asp:Label ID="lblMonitoreador" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px" ></asp:Label>   </td>
                                <td style="width:1000px"><asp:Label ID="Label4" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px" Text="PPER:  " ></asp:Label>
                                <asp:Label ID="lblPPER" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px" ></asp:Label>   </td>
                                </tr>
                                 <tr style="height:10px">
                                <td >&nbsp</td>
                                <td ></td>
                                </tr>
                                </table>                                                                   
                                     <asp:GridView ID="gv_doc" runat="server" AutoGenerateColumns="False" GridLines="both" RowStyle-Font-Size="8pt"
                                    CellPadding="4" HeaderStyle-Font-Size="10pt" BorderColor="Black" ShowHeader="true"  Width="1200px">   
                                    <RowStyle VerticalAlign="Top" Font-Names=" Arial, Helvetica, sans-serif" font-size="11px" />                                 
                                            <Columns>                                            
                                             <asp:BoundField DataField="PERIODO" HeaderText="Periodo" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="CODIGO" HeaderText="Código" ItemStyle-Width="30px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="DESCRIPCION" HeaderText="Especifica de Gastos" ItemStyle-Font-Size="10pt" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="ANUAL" HeaderText="Monto Anual" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n0}"/>
                                                <asp:BoundField DataField="ACTUAL" HeaderText="Monto Mes" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n0}"/>
                                                <asp:BoundField DataField="ACUMULADA" HeaderText="Monto Acum." ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n0}"/> 
                                                <asp:BoundField DataField="Visita1" HeaderText="Visita 1" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n0}"/>  
                                                <asp:BoundField DataField="Visita2" HeaderText="Visita 2" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n0}"/>  
                                                <asp:BoundField DataField="Visita3" HeaderText="Visita 3" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n0}"/>  
                                                <asp:BoundField DataField="Visita4" HeaderText="Visita 4" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n0}"/>    
                                                <asp:BoundField DataField="OBSERVACIONES" HeaderText="Observaciones" ItemStyle-HorizontalAlign="Left" />                                                                                                             
                                            </Columns>                                                                                 
                                    </asp:GridView>
                                </div>                                
                            </td>
                        </tr>
               </table>             
            <table width="900px">
                <tr>
                    <td width="120px" align="left"> <img id="btnImprimir" runat="server" title="Imprimir Avance Financiero" src="../Imagenes/btnImprimir.png" style="cursor:hand" alt="" onclick="getPrint('print_area')"/>   
                    </td>
                    <td >&nbsp;</td>
                    <td width="40px"  align="right"><asp:ImageButton ID="btn_salir" runat="server" ToolTip="Salir" Height="23px" align="right" ImageUrl="~/Imagenes/btnSalir.png" /></td>
                </tr>
            </table>
            
  <uc1:Alerta id="alerta" runat="server"></uc1:Alerta>
</asp:Content>

